package Expe10;

/**
 * @Author 28021
 * @Date 2022/11/15
 */
public class Dog extends Animal {
    @Override
    public void cry() {
        System.out.println("汪汪汪");
    }

    @Override
    public String getAnimalName() {
        return "小狗";

    }
}